package com.wtwd.campus.jdzc.service;


import com.wtwd.campus.jdzc.entity.Notification;
import com.wtwd.campus.jdzc.entity.vo.NotificationVO;

import java.util.List;
import java.util.Map;

/**
 * @author mjy
 * @date 2022/02/16
 * @description
 */
public interface JdzcNotificationService {
    Map<String,Object> getNotificationByCondition(NotificationVO data);

    Map<String,Object> getSchoolAndGradeMessByClassId(Integer classes);

    int addNotification(Notification data);

    int addNotificationWx(Notification data);

    Notification getNotificationById(Integer id);

    Long getLatestNotificationTimeByClassId(Integer classId);

    List<Notification> getNotificationByTimeAndClassId(Integer classId, Long time, Integer count);
}
